package com.suyuan.dao;

import java.util.List;

import com.suyuan.entity.PigIn;
import com.suyuan.entity.PigInExample;
import org.apache.ibatis.annotations.Param;

public interface PigInMapper {
    int countByExample(PigInExample example);

    int deleteByExample(PigInExample example);

    int deleteByPrimaryKey(Integer gid);

    int insert(PigIn record);

    int insertSelective(PigIn record);

    List<PigIn> selectByExample(PigInExample example);

    PigIn selectByPrimaryKey(Integer gid);

    int updateByExampleSelective(@Param("record") PigIn record, @Param("example") PigInExample example);

    int updateByExample(@Param("record") PigIn record, @Param("example") PigInExample example);

    int updateByPrimaryKeySelective(PigIn record);

    int updateByPrimaryKey(PigIn record);
}